package com.dhecp.project.flowable.service.impl;

import com.dhecp.project.flowable.domain.SysProcessInstance;
import com.dhecp.project.flowable.mapper.SysProcessInstanceMapper;
import com.dhecp.project.flowable.service.SysProcessInstanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;


/**
 * @ClassName SysProcessInstanceImpl
 * @Description TODO
 * @Author alula
 * @Date 2019-11-29 16:25
 */
@Service
public class SysProcessInstanceImpl implements SysProcessInstanceService {

    @Autowired
    private SysProcessInstanceMapper sysProcessInstanceMapper;

    @Override
    public SysProcessInstance queryActBusinessByGuid(String guid) {
        return sysProcessInstanceMapper.findSysProcessInstanceByGuid(guid);
    }

    @Override
    public Integer queryActProcessBranchResult(Map<String, Object> params) {
        return sysProcessInstanceMapper.findActProcessBranchResult(params);
    }


}
